package com.codepilot.server.service;

import com.codepilot.server.model.entity.Record;

import java.util.List;

public interface RecordService {
    List<Record> getRecordList(Integer userId);

    Integer createRecord(Integer userId, Integer problemUid);

    Integer renewRecord(Record record);

    Integer finishRecord(Record record);
}
